package com.security.frame.core.properties;

import com.security.frame.core.enums.ImgCodeType;
import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

/**
 * 图形验证码
 *
 * @author wangjie
 * @version V1.0
 * @date 2019/11/5
 */
@Setter
@Getter
@Component("image")
public class ImageCodeProperties extends SmsCodeProperties {
	
	public ImageCodeProperties() {
		setLength(4);
	}
	 
	private int width = 90;
	private int height = 32;
	/**
	 * 干扰线条数
	 */
	private int lineCount = 30;

	private ImgCodeType imgCodeType = ImgCodeType.ENANDNUMBER;
}
